import axiosInstance from '../utils/axiosInstance';

/**
 * 获取用户观影统计数据
 * @returns 用户观影统计数据
 */
export const getUserMovieStats = async () => {
  try {
    const response = await axiosInstance.get('/users/stats/movies');
    return response.data;
  } catch (error) {
    console.error('获取用户观影统计数据失败:', error);
    throw error;
  }
};
